package com.jmb.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.dto.system.HttpSettingDTO;
import com.jmb.api.model.entity.HttpSetting;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.vo.system.HttpSettingVo;
import jakarta.validation.Valid;

import java.util.List;

/**
* @author jinbo
* @description 针对表【http_setting】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface HttpSettingService extends IService<HttpSetting> {

    void saveHtppSetting(HttpSettingDTO httpSettingDTO);

    IPage<HttpSettingDTO> getListHttpSetting(IPage<HttpSettingDTO> page, HttpSettingVo httpSettingVo);

    void updateHttpSetting(@Valid HttpSettingDTO httpSettingDTO);

    void updateStatusId(Integer settingId, Integer statusId);
    List<HttpSettingDTO> getHttpSettingList(HttpSettingDTO httpSettingDTO);
}
